Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
roc::pipeline::ReceiverCommonConfig Struct Reference

Receiver common parameters. More...

#include <config.h>

Public Attributes

size_t output_sample_rate
 Number of samples per second per channel. More...
 
packet::channel_mask_t output_channels
 Channel mask. More...
 
size_t internal_frame_size
 Number of samples for internal frames. More...
 
bool resampling
 Perform resampling to compensate sender and receiver frequency difference. More...
 
bool timing
 Constrain receiver speed using a CPU timer according to the sample rate. More...
 
bool poisoning
 Fill uninitialized data with large values to make them more noticeable. More...
 
bool beeping
 Insert weird beeps instead of silence on packet loss. More...
 

Detailed Description

Receiver common parameters.

Remarks
Defines receiver parameters common for all sessions.

Definition at line 162 of file config.h.

Constructor & Destructor Documentation

◆ ReceiverCommonConfig()

roc::pipeline::ReceiverCommonConfig::ReceiverCommonConfig ( )
inline

Definition at line 184 of file config.h.

Member Data Documentation

◆ beeping

bool roc::pipeline::ReceiverCommonConfig::beeping

Insert weird beeps instead of silence on packet loss.

Definition at line 182 of file config.h.

◆ internal_frame_size

size_t roc::pipeline::ReceiverCommonConfig::internal_frame_size

Number of samples for internal frames.

Definition at line 170 of file config.h.

◆ output_channels

packet::channel_mask_t roc::pipeline::ReceiverCommonConfig::output_channels

Channel mask.

Definition at line 167 of file config.h.

◆ output_sample_rate

size_t roc::pipeline::ReceiverCommonConfig::output_sample_rate

Number of samples per second per channel.

Definition at line 164 of file config.h.

◆ poisoning

bool roc::pipeline::ReceiverCommonConfig::poisoning

Fill uninitialized data with large values to make them more noticeable.

Definition at line 179 of file config.h.

◆ resampling

bool roc::pipeline::ReceiverCommonConfig::resampling

Perform resampling to compensate sender and receiver frequency difference.

Definition at line 173 of file config.h.

◆ timing

bool roc::pipeline::ReceiverCommonConfig::timing

Constrain receiver speed using a CPU timer according to the sample rate.

Definition at line 176 of file config.h.


The documentation for this struct was generated from the following file: